package Analysis;

import java.util.ArrayList;

public class MetaCorrelationsManagersListClass {
	
	ArrayList<CorrelationManagerClass> correlationsManagersList;
	
	public double[] cor_kCO_cCOListArray;
	public double[] cor_kCO_hCOListArray;
	public double[] cor_kCO_alphaCOListArray;
	public double[] cor_kCO_accuracyCOListArray;

	public double[] cor_cCO_hCOListArray;
	public double[] cor_cCO_alphaCOListArray;
	public double[] cor_cCO_accuracyCOListArray;	

	public double[] cor_hCO_alphaCOListArray;
	public double[] cor_hCO_accuracyCOListArray;

	public double[] cor_alphaCO_accuracyCOListArray;

	public double[] cor_kLO_cLOListArray;
	public double[] cor_kLO_hLOListArray;
	public double[] cor_kLO_alphaLOListArray;
	public double[] cor_kLO_accuracyLOListArray;

	public double[] cor_cLO_hLOListArray;
	public double[] cor_cLO_alphaLOListArray;
	public double[] cor_cLO_accuracyLOListArray;	

	public double[] cor_hLO_alphaLOListArray;
	public double[] cor_hLO_accuracyLOListArray;

	public double[] cor_alphaLO_accuracyLOListArray;
	
	public MetaCorrelationsManagersListClass()
	{
		correlationsManagersList = new ArrayList<CorrelationManagerClass>();
	}
		
	
	public void add(CorrelationManagerClass correlationManager)
	{
		correlationsManagersList.add(correlationManager);
	}
	
	public void prepareCorrelationsArrays()
	{
		int sizeOfTheCorrelationsManagerList;
		
		sizeOfTheCorrelationsManagerList = correlationsManagersList.size();
		
		cor_kCO_cCOListArray = new double[sizeOfTheCorrelationsManagerList];
		cor_kCO_hCOListArray = new double[sizeOfTheCorrelationsManagerList];
		cor_kCO_alphaCOListArray = new double[sizeOfTheCorrelationsManagerList];
		cor_kCO_accuracyCOListArray = new double[sizeOfTheCorrelationsManagerList];

		cor_cCO_hCOListArray = new double[sizeOfTheCorrelationsManagerList];
		cor_cCO_alphaCOListArray = new double[sizeOfTheCorrelationsManagerList];
		cor_cCO_accuracyCOListArray = new double[sizeOfTheCorrelationsManagerList];	

		cor_hCO_alphaCOListArray = new double[sizeOfTheCorrelationsManagerList];
		cor_hCO_accuracyCOListArray = new double[sizeOfTheCorrelationsManagerList];

		cor_alphaCO_accuracyCOListArray = new double[sizeOfTheCorrelationsManagerList];

		cor_kLO_cLOListArray = new double[sizeOfTheCorrelationsManagerList];
		cor_kLO_hLOListArray = new double[sizeOfTheCorrelationsManagerList];
		cor_kLO_alphaLOListArray = new double[sizeOfTheCorrelationsManagerList];
		cor_kLO_accuracyLOListArray = new double[sizeOfTheCorrelationsManagerList];

		cor_cLO_hLOListArray = new double[sizeOfTheCorrelationsManagerList];
		cor_cLO_alphaLOListArray = new double[sizeOfTheCorrelationsManagerList];
		cor_cLO_accuracyLOListArray = new double[sizeOfTheCorrelationsManagerList];	

		cor_hLO_alphaLOListArray = new double[sizeOfTheCorrelationsManagerList];
		cor_hLO_accuracyLOListArray = new double[sizeOfTheCorrelationsManagerList];

		cor_alphaLO_accuracyLOListArray = new double[sizeOfTheCorrelationsManagerList];
		
				
		for(int i=0; i<correlationsManagersList.size(); i++)
		{
			cor_kCO_hCOListArray[i] = correlationsManagersList.get(i).correlations.getCor_kCO_hCO();            
			cor_kCO_alphaCOListArray[i] = correlationsManagersList.get(i).correlations.getCor_kCO_alphaCO();        
			cor_kCO_accuracyCOListArray[i] = correlationsManagersList.get(i).correlations.getCor_kCO_accuracyCO();     
							                                  
			cor_cCO_hCOListArray[i] = correlationsManagersList.get(i).correlations.getCor_cCO_hCO();            
			cor_cCO_alphaCOListArray[i] = correlationsManagersList.get(i).correlations.getCor_cCO_alphaCO();        
			cor_cCO_accuracyCOListArray[i] = correlationsManagersList.get(i).correlations.getCor_cCO_accuracyCO();     
							                                  
			cor_hCO_alphaCOListArray[i] = correlationsManagersList.get(i).correlations.getCor_hCO_alphaCO();        
			cor_hCO_accuracyCOListArray[i] = correlationsManagersList.get(i).correlations.getCor_hCO_accuracyCO();     
							                                  
			cor_alphaCO_accuracyCOListArray[i] = correlationsManagersList.get(i).correlations.getCor_alphaCO_accuracyCO(); 
							                                  
			cor_kLO_cLOListArray[i] = correlationsManagersList.get(i).correlations.getCor_kLO_cLO();            
			cor_kLO_hLOListArray[i] = correlationsManagersList.get(i).correlations.getCor_kLO_hLO();            
			cor_kLO_alphaLOListArray[i] = correlationsManagersList.get(i).correlations.getCor_kLO_alphaLO();        
			cor_kLO_accuracyLOListArray[i] = correlationsManagersList.get(i).correlations.getCor_kLO_accuracyLO();     
							                                  
			cor_cLO_hLOListArray[i] = correlationsManagersList.get(i).correlations.getCor_cLO_hLO();            
			cor_cLO_alphaLOListArray[i] = correlationsManagersList.get(i).correlations.getCor_cLO_alphaLO();        
			cor_cLO_accuracyLOListArray[i] = correlationsManagersList.get(i).correlations.getCor_cLO_accuracyLO();     
							                                  
			cor_hLO_alphaLOListArray[i] = correlationsManagersList.get(i).correlations.getCor_hLO_alphaLO();        
			cor_hLO_accuracyLOListArray[i] = correlationsManagersList.get(i).correlations.getCor_hLO_accuracyLO();     
							                                  
			cor_alphaLO_accuracyLOListArray[i] = correlationsManagersList.get(i).correlations.getCor_alphaLO_accuracyLO();
		}		
	}
}
